projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edaf359
)
Call XtSetValues not XtVaSetValues.
author
Fred Pierresteguy
<F.Pierresteguy@frcl.bull.fr>
Tue, 22 Mar 1994 14:59:24 +0000
(14:59 +0000)
committer
Fred Pierresteguy
<F.Pierresteguy@frcl.bull.fr>
Tue, 22 Mar 1994 14:59:24 +0000
(14:59 +0000)
src/widget.c
patch
|
blob
|
history
diff --git
a/src/widget.c
b/src/widget.c
index 30f4e9e3d6ff4d0186d3cdcc68cfc24df983c85e..09fc0f3ecbe1ef1d242094adbd3748eb6aa5009f 100644
(file)
--- a/
src/widget.c
+++ b/
src/widget.c
@@
-438,11
+438,15
@@
set_frame_size (ew)
{
int len;
char *tem;
+ Arg al[2];
+ int ac = 0;
+
sprintf (shell_position, "=%dx%d", pixel_width, pixel_height);
len = strlen (shell_position) + 1;
tem = (char *) xmalloc (len);
strncpy (tem, shell_position, len);
- XtVaSetValues (wmshell, XtNgeometry, tem, 0);
+ XtSetArg (al[ac], XtNgeometry, tem); ac++;
+ XtSetValues (wmshell, al, ac);
}
#if 0 /* We don't need this also. */